#include "logentry.h"

LogEntry::LogEntry(QObject *parent) :
    QObject(parent)
{
    owner =  "";
    log = "";
    timeStamp = QDateTime::currentDateTime();

   // qDebug() << timeStamp.toString();
}

QString LogEntry::getLog()
{
    return log;
}

void LogEntry::setLog(QString l)
{
    log = l;
}

QString LogEntry::getOwner()
{
    return owner;
}

void LogEntry::setOwner(QString o)
{
    owner = o;
}

QDateTime LogEntry::getTimeStamp()
{
    return timeStamp;
}

//Testing purpose
void LogEntry::setTimeStamp(QDateTime t)
{
    timeStamp = t;
}
